(function() {
  $(function() {
    var form;
    form = $('form.main');
    return form.form({
      inline: true,
      fields: {
        listen_addr: {
          optional: false,
          rules: [
            {
              type: 'empty'
            }
          ]
        },
        listen_port: {
          optional: false,
          rules: [
            {
              type: 'integer[..]'
            }
          ]
        },
        timeout: {
          optional: false,
          rules: [
            {
              type: 'integer[..]'
            }
          ]
        }
      }
    });
  });

}).call(this);
